package se137.hrbust.hlgshopping137.config;

import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OpenApiConfig137 {
    @Bean
    public GroupedOpenApi publicApi() {
        return GroupedOpenApi.builder()
                .group("理工商城") // 定义分组名称
                .packagesToScan("se137.hrbust.hlgshopping137") // 扫描的包路径
                .build();
    }
}